require 'watir'
include Watir
require 'test/unit'
require 'test/unit/ui/console/testrunner'
require 'watir/testUnitAddons'
require 'watir/testcase'
require 'watir/contrib/enabled_popup'

class TC_Admin < Test::Unit::TestCase
  def test_02
  $ie.goto($UniVar)
  
  $ie.goto($UniVar + '/controlpanel/Setup.aspx')
  $ie.table(:index, 12).click
  $ie.link(:index, 14).click
  $ie.text_field(:index, 1).value = "*Aaa not pc word*"
  $ie.link(:text, 'Create').click
  
  $ie.link(:text, 'Delete').click
  assert(!$ie.contains_text('*Aaa not pc word*'))
  
  end
end